home *** CD-ROM | disk | FTP | other *** search
- Path: news.cyberstore.ca!ejw
- From: ejw@news.cyberstore.ca ()
- Newsgroups: comp.lang.c
- Subject: Converting Strings to Upper Case
- Date: 17 Mar 1996 01:53:10 GMT
- Organization: Cyberstore Systems Inc.
- Message-ID: <4ifra6$52i@scipio.cyberstore.ca>
- NNTP-Posting-Host: yvr.cyberstore.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hi,
-
- I need to write a function to convert a string containg upper or lower case
- characters to the opposite case. Something like:
-
- void libConvertUpperCase(char *str); and
- void libConvertLowerCase(char *str);
-
- and the string would be modified. I just can't seem to wrap my head around
- the best way that I know is better than writing a for loop to check each
- element in the array?
-
- I apologize if this in the FAQ; I am still going thorugh it. Any help
- would be greatly appreciated.
-
- Eric Woodward.
- ejw@cyberstore.ca.
-
-